package com.bdqn.springbootmybatis.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * sys_user
 *
 * @author LILIBO
 * @since 2021-11-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class SysUser implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Long usrId;

	/**
	 * 姓名
	 */
	private String usrName;

	/**
	 * 密码
	 */
	private String usrPassword;

	/**
	 * 角色编号
	 */
	private Long usrRoleId;

	/**
	 * 状态
	 */
	private Long usrFlag;

	public SysUser(String usrName, String usrPassword, Long usrRoleId, Long usrFlag) {
		this.usrName = usrName;
		this.usrPassword = usrPassword;
		this.usrRoleId = usrRoleId;
		this.usrFlag = usrFlag;
	}
}
